Skip to content

fix: check len of state before accessing power state#871

Merged
rsdmike merged 2 commits intomainfrom
fixLenCheck
Apr 7, 2026
Merged

fix: check len of state before accessing power state#871
rsdmike merged 2 commits intomainfrom
fixLenCheck

Conversation

@rsdmike
Copy link
Copy Markdown
Member

@rsdmike rsdmike commented Apr 2, 2026

No description provided.

Copilot AI review requested due to automatic review settings April 2, 2026 22:58
@rsdmike rsdmike enabled auto-merge (rebase) April 2, 2026 22:59
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 2, 2026

Codecov Report

❌ Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 40.70%. Comparing base (18b4cdf) to head (bcc0a94).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
internal/usecase/devices/power.go 0.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #871      +/-   ##
==========================================
- Coverage   40.71%   40.70%   -0.01%     
==========================================
  Files         114      114              
  Lines       10869    10871       +2     
==========================================
  Hits         4425     4425              
- Misses       6051     6052       +1     
- Partials      393      394       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@graikhel-intel graikhel-intel linked an issue Apr 7, 2026 that may be closed by this pull request
@rsdmike rsdmike merged commit efd1dac into main Apr 7, 2026
17 of 19 checks passed
@rsdmike rsdmike deleted the fixLenCheck branch April 7, 2026 22:17
@RosieAMT
Copy link
Copy Markdown

RosieAMT commented Apr 7, 2026

🎉 This PR is included in version 1.22.8 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix intermittent 500/504 failures for GET Power State

4 participants